A usually nonphotosynthetic free-living protozoan with whiplike appendages; some are pathogens of humans and other animals